Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 0.4: Better display of multiple contract calls. Many enhancements and corrections. #1980

Merged
merged 17 commits into from
Jun 10, 2024

Conversation

dbadol
Copy link
Contributor

@dbadol dbadol commented Jun 9, 2024

Updated on v0.4:

  • Multiple contract calls are now displayed in groups, with one single block height for all.
  • Sorting and filtering has been adapted to work with such groups of rows.
  • Table headers are now sticky to the top of the window.
  • Column widths keep a similar width when their filters are activated.
  • Ascending/descending symbols have been inverted (to use same logic as Wikipedia tables).
  • Detection of some Confidential Asset metadata, for better styling.
  • Hashes and metadata are now displayed truncated, with individual eye symbols to expand them.
  • An eye symbol has been added to the banner, to expand/truncate everything at once.
  • Removed the small collapsibles for metadata (since they now have the eye symbol instead)
  • The node asset list request does not need the block height anymore (as default is current block height).
  • Made the main navigation links permanent by moving them into the banner.
  • Reduced top banner height (better for in-wallet display).
  • Added introductory comments in code (intro, guidelines, version) and separation in four sections.
  • Added noscript warning.
  • Added some header elements which are also used in to other Beam DApps.
  • Added embedded SVG favicon (compact version of Beam logo)
  • Header and footer are now static HTML, displayed right away before loading the main content.
  • Added scroll up/down floating buttons.
  • Added nMax in URL for contract calls and block headers (will be made user-modifiable later on)
  • Added arrows around block heights in titles to navigate to older/newer block heights.
  • Added a 'list' symbol before the block page title with a link to the block headers list.
  • Replaced 'MakeMoreLink' with 'MakeLinkToOlderBlocks' (in preparation for a future smarter 'MakeLinkToNewerBlocks' that will also allow navigating pages forward).
  • Adjusted font-family for monospace
  • Replaced \" with '
  • Added tool-tips in many places.
  • Timestamps are now colored.
  • Amounts can have 3 colors (unsigned, positive, negative)
  • 'hdrs' request now explicits the requested columns (will be used later on to allow user-selection).
  • Made a few adjustments to be compatible with Chrome 83 (to allow running as Beam Wallet DApp).
  • Made all header row cells 'th' instead of 'td' (needed to make them sticky on Chrome 83).
  • Some other small style adjustments across the code.

@Maxnflaxl Maxnflaxl requested a review from valdok June 10, 2024 03:41
@valdok valdok merged commit f2f12e8 into BeamMW:master Jun 10, 2024
@dbadol dbadol deleted the vlad_20240530 branch June 24, 2024 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants